﻿using System.Windows;
using System.Windows.Data;

using ScreenMonkey.Remote;

namespace SMTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            SMConnection.GetInstance().Connect();
        }

        private void clipSelect_Loaded(object sender, RoutedEventArgs e)
        {

        }

        protected override void OnClosed(System.EventArgs e)
        {
            base.OnClosed(e);
            SMConnection.GetInstance().Disconnect();
        }
    }
}
